package com.right.health.app.bean;

import android.text.TextUtils;

import java.io.Serializable;
import java.util.List;

/**
 * @author weming
 * @Date 2021/4/21
 * @description
 */
public class ServicePackResponse {

    private List<ServicesBean> services;

    public List<ServicesBean> getServices() {
        return services;
    }

    public void setServices(List<ServicesBean> services) {
        this.services = services;
    }

    public static class ServicesBean implements Serializable {
        /**
         * createtime : 1618343310000
         * pkdesc : 医院服务
         * updatetime : 1618343310000
         * pkicon : img/service-item1.png
         * operatestatus : I
         * pkid : 210414034830161528676348158676
         * pkprice : 0
         * hospital : 攀枝花大学附属保健院
         * pkname : 基础包
         */

        private long createtime;
        private String pkdesc;
        private long updatetime;
        private String pkicon;
        private String operatestatus;
        private String pkid;
        private String pkprice;
        private String hospital;
        private String pkname;
        private String pkdetailpic;

        public long getCreatetime() {
            return createtime;
        }

        public void setCreatetime(long createtime) {
            this.createtime = createtime;
        }

        public String getPkdesc() {
            return pkdesc;
        }

        public void setPkdesc(String pkdesc) {
            this.pkdesc = pkdesc;
        }

        public long getUpdatetime() {
            return updatetime;
        }

        public void setUpdatetime(long updatetime) {
            this.updatetime = updatetime;
        }

        public String getPkicon() {
            return pkicon;
        }

        public void setPkicon(String pkicon) {
            this.pkicon = pkicon;
        }

        public String getOperatestatus() {
            return operatestatus;
        }

        public void setOperatestatus(String operatestatus) {
            this.operatestatus = operatestatus;
        }

        public String getPkid() {
            return pkid;
        }

        public void setPkid(String pkid) {
            this.pkid = pkid;
        }

        public String getPkprice() {
            return pkprice;
        }

        public void setPkprice(String pkprice) {
            this.pkprice = pkprice;
        }

        public String getHospital() {
            return hospital;
        }

        public void setHospital(String hospital) {
            this.hospital = hospital;
        }

        public String getPkname() {
            return pkname;
        }

        public void setPkname(String pkname) {
            this.pkname = pkname;
        }

        public String getPkdetailpic() {
            return (pkdetailpic == null || TextUtils.equals(pkdetailpic, "null")) ? "" : pkdetailpic;
        }

        public void setPkdetailpic(String pkdetailpic) {
            this.pkdetailpic = pkdetailpic;
        }
    }
}
